/*
 * 类名：UserMapper
 * 
 * 版本信息：0.0.1
 *
 * 作成日期：2018/12/10
 * 
 * 作成者：luyou
 */
package com.dd.census.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.dd.census.entity.SysUser;

@Mapper
public interface SysUserMapper {

	SysUser selectById(Integer id);

	SysUser selectLogin(SysUser user);

	int updatePassword(SysUser user);

	List<SysUser> selectPage(SysUser user);

	SysUser selectAll(SysUser user);

	int selectCount(SysUser user);

	int update(SysUser user);

	int insert(SysUser user);

	SysUser getSysUserById(@Param("id") Integer id);

}